Pronamic\WordPress\Pay\Subscriptions\SubscriptionsModule B

Total Complexity 89
Dependencies 18
Dependents 1
Total lines 784
Lines of code 424
Logical lines of code 238
Comment lines 207
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
handle_subscription_mandate()
B
33 17 112
payment_status_update()
A
48 15 32
handle_subscription_renew()
A
44 10 47
maybe_handle_subscription_action()
A
52 9 23
maybe_cancel_subscription()
S
52 6 24
can_retry_payment()
S
57 5 16
get_subscription_status_update_note()
S
59 5 15
rest_api_subscription_phase()
S
53 3 27
rest_api_init()
S
49 1 40
complement_subscription_by_payment()
S
67 3 8
rest_api_subscription()
S
60 2 15
should_renew()
S
63 3 10
__construct()
S
54 1 20
exclude_subscription_comment_notes()
S
68 2 7
log_subscription_status_update()
S
67 2 8
maybe_schedule_subscription_events()
S
77 1 4
is_processing_disabled()
S
78 1 3
handle_subscription_cancel()
S
73 1 5
source_text_subscription_payment_method_change()
S
75 1 4
source_description_subscription_payment_method_change()
S
75 1 4